package com.kingtao.protocol;

import io.netty.handler.codec.LengthFieldBasedFrameDecoder;

/**
 * @Author: kingtao
 * @Date: 2023-08-23-16:27
 * @Description:
 */
public class ProtocolFrameDecoder extends LengthFieldBasedFrameDecoder {

    public ProtocolFrameDecoder() {
        this(40000, 8, 4, 0, 0);
    }

    public ProtocolFrameDecoder(int maxFrameLength, int lengthFieldOffset, int lengthFieldLength, int lengthAdjustment, int initialBytesToStrip) {
        super(maxFrameLength, lengthFieldOffset, lengthFieldLength, lengthAdjustment, initialBytesToStrip);
    }
}
